﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace sieuthi.Threelayer.BUS
{
    public class khachhangBUS
    {
        private DAL.khachhangDAL db = new DAL.khachhangDAL();

        //Customer get by all
        public List<VO.khachhangVO> khachhang_xem()
        {
            return db.khachhang_xem();
        }

        //Customer Update
        public bool khachhang_sua(VO.khachhangVO obj)
        {
            return db.khachhang_sua(obj);
        }

        //Customer Insert
        public bool khachhang_them(VO.khachhangVO obj)
        {
            return db.khachhang_them(obj);
        }

        //Customer Delete
        public bool khachhang_xoa(string Id)
        {
            return db.khachhang_xoa(Id);
        }
        public void khachhang_them()
        {
            throw new NotImplementedException();
        }
    }
}
